function n = length(x)
  n = length(x.v);
